.order-confirm {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 100px;
}

.order-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 0px !important; 
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-left: -32px;
}

.address-section {
  background: white;
  margin-bottom: 5px !important;
  padding: 8px 16px 8px 16px !important;
}

.address-item {
  display: flex;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.address-item:hover {
  background: #f8f9fa;
}

.address-item.selected {
  background: linear-gradient(135deg, #fff2e8, #f8f9fa);
}

.address-icon {
  color: #52c41a;
  font-size: 18px;
  margin-right: 12px;
}

.address-info {
  flex: 1;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.receiver-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.receiver-phone {
  font-size: 14px;
  color: #666;
}

.address-detail {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.address-arrow {
  color: #999;
  font-size: 12px;
}

.add-address-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #1890ff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-address-btn:hover {
  background: #f8f9fa;
}

.order-products {
  background: white;
  padding: 0px 16px 0px 16px !important;
  margin-bottom: 5px;
}

.section-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  padding: 16px 16px 0;
  margin-bottom: 0px !important;
}

.order-product-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.order-product-item:last-child {
  border-bottom: none;
}

.product-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-specs {
  font-size: 12px;
  color: #999;
  margin-bottom: 0px !important;
}

.product-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 16px;
  font-weight: 500;
  color: #ff6b35;
}

.quantity {
  font-size: 14px;
  color: #666;
}

.points-section {
  background: white;
  margin-bottom: 5px;
  padding: 0px 16px 0px 16px !important;
}

.points-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.points-control {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0px;
}

.points-info {
  font-size: 12px;
  color: #666;
}

.discount-info {
  text-align: right;
  font-size: 12px;
  color: #52c41a;
  margin-top: 0px;
  padding: 0px 16px 0px 16px;
}

.payment-section {
  background: white;
  margin-bottom: 5px;
  padding: 0px 16px 0px 16px !important;
}

.payment-methods {
  margin-top: 5px;
}

.payment-option {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.payment-option:last-child {
  border-bottom: none;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon {
  font-size: 20px;
}

.order-summary {
  background: white;
  margin-bottom: 12px;
  padding: 0px 10px 0px 10px !important;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px !important;
  font-size: 14px;
  margin-bottom: 0px !important;
}

.summary-item.discount {
  color: #52c41a;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px !important;
  border-top: 1px solid #f0f0f0;
  font-size: 16px;
  font-weight: 500;
}

.total-amount {
  color: #ff6b35;
  font-size: 20px;
  font-weight: bold;
}

.order-submit {
  position: fixed;
  bottom: 0;
  background: white;
  padding: 16px;
  padding-bottom: 90px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
  padding-top: 30px;
}

.submit-info {
  flex: 1;
}

.total-text {
  font-size: 14px;
  color: #333;
}

.total-price {
  color: #ff6b35;
  font-size: 18px;
  font-weight: bold;
}

.submit-btn {
  height: 44px;
  padding: 0 32px;
  border-radius: 22px;
  /* background: linear-gradient(135deg, #ff6b35, #f7931e); */
  border: none;
  font-size: 16px;
  font-weight: 500;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #f7931e, #ff6b35);
  bottom: 0;
  padding: 25px;

  border-top: 1px solid #f0f0f0;

}

/* 地址弹窗样式 */
.ant-modal-header {
  border-bottom: 1px solid #f0f0f0;
}

.ant-modal-body {
  padding-top: 20px;
}

.ant-form-item {
  margin-bottom: 16px;
}

.ant-form-item-label > label {
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .address-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .product-price-qty {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .order-submit {
    flex-direction: column;
    gap: 12px;
  }
  
  .submit-btn {
    width: 100%;
  }
} 